<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>{$tpshop_config['shop_info_store_title']}</title>
	<meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
	<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />

</head>
<body>
<!--------頭部開始-------------->
<include file="Public/header" />
<!--------頭部結束-------------->
<!-- 首頁輪播圖片 輪播js 廣告-->
<script type="text/javascript" src="__STATIC__/js/jquery.cycle.js"></script>
<script type="text/javascript">
    $(function() {
        $('#banner').cycle({
            fx:'fade',
            timeout:6000,
            prev:'#left_banner',
            next:'#right_banner'
        });

    });
</script>
<!-- 首頁輪播圖片 輪播js 廣告 end-->
<!--------banner-開始-------------->
<div class="nav-banner">

	<a href="" id="left_banner"></a><a href="" id="right_banner"></a>
	<div id="banner">
		<adv limit="5" item="v" pid="1">
			<if condition="$v.ad_link_id neq ''">
				<div style="background:url({$v[ad_code]}) no-repeat top center;"><a href="{:U('Home/Activity/activityList/',array('activity_id'=>$v[ad_link_id]))}" <if condition="$v['target'] eq 1">target="_blank"</if>></a></div>
				<else/>
				<div style="background:url({$v[ad_code]}) no-repeat top center;"><a href="{$v.ad_link}" <if condition="$v['target'] eq 1">target="_blank"</if>></a></div>
			</if>
		</adv>
	</div>

</div>
<!--------banner-結束-------------->


<!--
<script type="text/javascript" src="__STATIC__/js/jquery.tinycarousel.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$('#slider1').tinycarousel({axis:'x',intervaltime:5000,interval:true,display:1});
	});
</script>
	<div class="slider1_title"><img src="__STATIC__/images/title_news.jpg"></div>
	<div id="slider1">
		<a class="buttons prev" href="#">left</a>
		<div class="viewport">
		  <ul class="overview">


	 <tpshop sql="select * from `__PREFIX__article` where cat_id = 4 and is_open=1  order by sort asc,article_id desc" key="k2" item='v2'>
			<li><a href="{:U('Home/Article/detailnews',array('article_id'=>$v2[article_id]))}" ><img src="{$v2[thumb]}" /></a><span>{$v2[$title]}
			<div class="slider_tags">
				<img src="__STATIC__/images/news_icon1.jpg">mattmatt<br >
				<img src="__STATIC__/images/news_icon2.jpg">{$v2[keywords]}<b><?php echo date("Y-m-d",$v2[add_time]); ?></b>
			</div>
			</span></li>
	</tpshop>

										  </ul>
		</div>
		<a class="buttons next" href="#">right</a>
	</div>

	<a href="{:U('Home/Article/articleList',array('article_id'=>4))}" class="morenews_i">查看更多+</a>

-->


<!--------footer-開始-------------->
<include file="Public/footer" />
<!--------footer-結束-------------->


<script src="__PUBLIC__/js/jqueryUrlGet.js"></script><!--獲取get參數插件-->
<script>
    set_first_leader(); //設置推薦人
    // 如果是手機瀏覽器跳到手機
    if(isMobileBrowser())
        location.href="{:U('Mobile/Index/index')}";
</script>

</body>
</html>